/**
*  @file 
*  @ingroup plat_science
**/

#ifdef __cplusplus
extern "C"
{
#endif


//#define NUMINSTRUMENTS	10
typedef enum instnum{
	UNKNOWN,
	AIRPRESSURE,
	AIRTEMP,
	BATHYMETRY,
	FLUORESCENCE,
	HUMIDITY,
	SALINITY,
	CURRENTSPEED,
	WATERTEMP,
	WINDSPEED,
	WINDANGLE,
	CURRENTANGLE
}INSTNUM;	

#define NUMINSTRUMENTS (CURRENTANGLE+1)
#define INSTNAMESIZE	32

#ifdef NEED_INSTNAMES
static char instnames[NUMINSTRUMENTS][INSTNAMESIZE] =
{
	"UNKNOWN",
	"AirPressure",
	"AirTemp",
	"Bathymetry",
	"Fluorescence",
	"Humidity",
	"Salinity",
	"CurrentSpeed",
	"WaterTemp",
	"Windspeed",
	"WindAngle",
	"CurrentAngle"
};
#endif

#ifdef NEED_INSTPLACES
static int instplaces[NUMINSTRUMENTS] =
// number of decimal places to use in printing dValue
{
	6,	//"UNKNOWN",
	0,	//"AirPressure",
	1,	//"AirTemp",
	1,	//"Bathymetry",
	3,	//"Fluorescence",
	3,	//"Humidity",
	2,	//"Salinity",
	1,	//"CurrentSpeed",
	1,	//"WaterTemp",
	1,	//"Windspeed",
	1,	//"WindAngle",
	1,	//"CurrentAngle"
};
#endif


SCI_DBL science_main(int instr, POSITION p);

#ifdef __cplusplus
}
#endif

